package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@MapperScan("com.qf.micrograss.**.mapper")
// 指定扫描的@FeignClient所在的父包
@EnableFeignClients(basePackages = "com.qf.api")
public class MicroGrassApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroGrassApplication.class, args);
    }

}
